<?php
declare (strict_types = 1);
// +----------------------------------------------------------------------
// | swiftAdmin 极速开发框架 [基于 WebMan 开发]
// +----------------------------------------------------------------------
// | Copyright (c) 2020-2030 http://www.swiftadmin.net
// +----------------------------------------------------------------------
// | swiftAdmin.net High Speed Development Framework
// +----------------------------------------------------------------------
// | Author: meystack <coolsec@foxmail.com> Apache2 License
// +----------------------------------------------------------------------

namespace app\index\controller;

use app\HomeController;

/**
 * 插件示例
 */
class Demo extends HomeController
{
    /**
     * 会员中心首页模板
     * @return \support\Response
     * @throws \Psr\SimpleCache\InvalidArgumentException
     */
    public function index(): \support\Response
    {    
        return view('/demo/index');
    }
    
    public function demo()
    {
        return response('demo');
    }

}
